<?php

namespace app\admin\model\xilumarket\order;

use app\common\model\User;
use think\Model;

class OrderDelivery extends Model
{
    protected $table = 'xl_xilumarket_order_delivery';

    // 自动写入时间戳字段
    protected $autoWriteTimestamp = 'int';

    // 定义时间戳字段名
    protected $createTime = 'createtime';
    protected $updateTime = 'updatetime';
    
    public function user() {
        return $this->belongsTo(User::class);
    }
}
